<%--
  Created by IntelliJ IDEA.
  User: li
  Date: 2022/2/5
  Time: 0:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
%>
<html>
<head>
    <title>添加学生表单页面</title>
<base href="<%=basePath%>" />
</head>
<body>

<div align="center">
    <form action="student/add.do">
        姓名：<input type="text" name="name" /><br/>
        年龄：<input type="text" name="age" /><br/>
        邮箱：<input type="text" name="email" /><br/>
        <input type="submit" value="注册">
    </form>
</div>
</body>
</html>
